<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>首页</title>
<style>
body {
	background-image: url('${pageContext.request.contextPath }/images/c.gif');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-attachment: fixed;
	background-color:#003D79;
}
</style>
<style>
button {
	width: 150px; /*设置按钮宽度*/
	height: 150px; /*设置按钮高度*/
	color: white; /*字体颜色*/
	background-color: #004B97; /*按钮背景颜色*/
	border-radius: 3px; /*让按钮变得圆滑一点*/
	border-width: 0; /*消去按钮丑的边框*/
	margin: 0;
	outline: none; /*取消轮廓*/
	font-family: KaiTi; /*字体设置为楷体*/
	font-size: 20px; /*设置字体大小*/
	text-align: center; /*字体居中*/
	cursor: pointer; /*设置鼠标箭头手势*/
}

button:hover { /*鼠标移动时的颜色变化*/
	background-color: green;
	width: 170px; /*设置按钮宽度*/
	height: 170px; /*设置按钮高度*/
}
</style>
<style>
#left {
	width: 43%;
	float: left;
	text-align: right
}
#right {
	width: 43%;
	float: right;
}
</style>
</head>
<body>
<a href="${pageContext.request.contextPath }/login_index.jsp" >退出</a>
	<h1 style="text-align: center; color: white">小米企业管理系统 </h1>
	<br>
	<br>
	<div id="left">
		<button onClick="window.location.href='${pageContext.request.contextPath }/kaoqin/kaoqin' "type="submit">考勤管理</button>
	</div>
	<div id="right">
		<button onClick="window.location.href='${pageContext.request.contextPath }/employee/list'" type="submit" >人事管理</button>
	</div>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<div>
		<button style="display: block; margin: 0 auto" onClick="window.location.href = '${pageContext.request.contextPath }/commodity/list'">商品管理</button>
	</div>
	<br>
	<br>
	<br>
	<div id="left">
		<button onclick="window.location.href = '${pageContext.request.contextPath }/project/list'" >项目管理</button>
	</div>
	<div id="right">
		<button onClick="window.location.href='${pageContext.request.contextPath }/kaoqin/caiwu' "type="submit">财务管理</button>
	</div>

</body>
</html>
